package com.alison.enableimportbeanconfig;

import com.alison.EmployeeProperties;
import com.alison.configuration.CustomBeanConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author alison
 * @Date 2024/3/27 10:27
 * @Version 1.0
 * @Description
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableConfigurationProperties({EmployeeProperties.class})
@Import({CustomBeanConfiguration.class})
public @interface EnableImportBeanConfig {
}
